Skip to content

Domoticz

322 Topics 2.3k Posts
  • Controlling Servo

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • suddenly it stops receive some data

    6
    0 Votes
    6 Posts
    1k Views
    F
    Yes, I have seen that. If I restart Domoticz and restart Node it receives Temp and Baro, create 2 new items named Temp and Baro. But after this I never get any new values not for TempHumbaro or the 2 new items, Temp and Baro. But if it starts to work after x hours maybe I can live with that.
  • Displayed Units

    1
    0 Votes
    1 Posts
    745 Views
    No one has replied
  • IDX table cleanup possible?

    2
    0 Votes
    2 Posts
    1k Views
    sundberg84S
    You wont run out on IDX, but if you want more answer i suggest the Domoticz forum: www.domoticz.com/forum
  • How do I add the soil-moisture sensor to domoticz?

    22
    0 Votes
    22 Posts
    20k Views
    mfalkviddM
    Not quite. There are no diodes and no resistors in the solution I use.
  • Matrix Membrane keypad

    3
    0 Votes
    3 Posts
    1k Views
    foggyF
    @sundberg84 Thank you. That makes sense. For the moment I'll use the timer in Domoticz as a quick fix. My programming skills are 0 at the moment. However I will google to see if I can figure your way out. Best wishes. James
  • Send a message to MySensors on event

    4
    0 Votes
    4 Posts
    2k Views
    sundberg84S
    You can also use json to control your nodes... have a look the wiki there as well.
  • [SOLVED] Domoticz will no longer get my motion sensor value.

    3
    0 Votes
    3 Posts
    2k Views
    ErrKE
    I can see it in my gateway. I only send 1 from my node and then use a timer in Domoticz. Thanks @sundberg84 i will try to change to send 1 and 0. I have change my node and you was right. When you send both 1 and 0 then it worked.
  • Can not see my Humidity sensor

    16
    0 Votes
    16 Posts
    4k Views
    ahmedadelhosniA
    Lately I begun to face the same issue. I have my GW in a fixed place on my desk and I have two nodes for testing. The first one find the parent at once, and the second one doesn't. I retry resetting both and again the behavior is repeated. THen I tried moving the wires of the GW several times and suddenly the second one begun working. Don't really know what is this but this happened twice this week :)
  • Domoticz using wrong message Type

    2
    0 Votes
    2 Posts
    1k Views
    J
    Ok, solved it myself. V_LOCK_STATUS is wrong in this case. The expected subtype for S_DOOR is V_TRIPPED. Changed it in the sketch and everything works as expected.
  • NodeMcu Lua WiFi gateway with RFM69HW

    6
    0 Votes
    6 Posts
    3k Views
    sundberg84S
    @ansh it's the cheapest diy kit. I found it great and fun. If you want a more commercial product I think rfxcom is the biggest. Check so your 433mhz components are supported before you buy.
  • RGBW Support?

    15
    0 Votes
    15 Posts
    8k Views
    M
    Thanks for your help, @LastSamurai. I'm looking for an analogue one, where the whole strip is the same colour. My next step is to decide on the hardware solution: existing specific board, or generic node + add-on board for MOSFETs (I don't see myself designing my own board - no experience).
  • Error: MySensors: Tidsgr�nsen f�r semaforen har uppn�tts

    3
    0 Votes
    3 Posts
    962 Views
    F
    @sundberg84 Message in Domoticz Log. sensor is on one arduino nano and gateway on Arduino Mega, so I think the answer is: MySensors network. I started with MySensors one week ago, so I dont understand all these names, yet :)
  • No dallas temp sensor in domoticz devices !

    4
    0 Votes
    4 Posts
    3k Views
    sundberg84S
    Great it worked out!
  • MQTT and Mysensors gateway All in one

    12
    0 Votes
    12 Posts
    5k Views
    mountainmanM
    Is it possible to use the same sensors with both ethernet and MQTT? I am currently using the ethernet gateway with vera but I would like to try MQTT/OpenHab. I would like to see the same sensors in both environments. Is the possible use the mutt gateway with vera? Thanks in advance.
  • Anyone has the setup domoticz => mqtt broker => mysensors up n running?

    8
    0 Votes
    8 Posts
    6k Views
    D
    Dear al.... Is there a how to or something for my idea: I would like to make an all in one gateway, mysensors and MQTT [ I do not know what it all is, but if I still start . :-) ]
  • Of 2 sensors on a node only one reports values

    11
    0 Votes
    11 Posts
    4k Views
    M
    I can confirm that the mysensors "adapter" for domoticz does not update anything for a sensor if the value has not changed - including last seen time. There has been a bit of a discussion about it and I have a bug and feature request in for it to be a configurable choice for the user - but as it stands - if no change in value then update is ignored. I modified the mysensors adapter code to always update - even if values haven't changed - but that isn't really a long term solution since it gets overwritten on every update. https://www.domoticz.com/forum/viewtopic.php?f=42&t=9272
  • How to add a sensor to the serial gateway

    25
    0 Votes
    25 Posts
    26k Views
    hekH
    It has been merged now. Available here: https://github.com/mysensors/Arduino
  • 0 Votes
    12 Posts
    6k Views
    R
    Today I had the same experiance with the ESP8266 gateway. Relay sensor and temp sensor working ok but the binary switch sensor did not work. It was correctly added in Domoticz but no status changes. When searching I found this post and build a quick and dirty USB gateway using an arduino Nano, plugged it in my Raspberry PI that runs Domoticz and bingo, it works ! So thanks for your post. One thing I did see in the telnet session to the ESP gateway, there were long numbers (6 digits I believe) at the end of the message were there should be a 0 or 1, indicating the status of the input. The gateway did not crash. Looks like a bug in the ESP gateway.
  • Learning 433 mhz with Domoticz

    5
    0 Votes
    5 Posts
    9k Views
    Michel - ItM
    BOYS COMBINE FORCES, participate on http://forum.mysensors.org/topic/1557/combined-mysensor-gateway-with-433mhz-transmitter-homeeasy-klik-aan-klik-uit/11 because it seems to have been settled in part /** * Import the libraries needed by the Sketch */ #include <MySensor.h> #include <SPI.h> #include <RemoteTransmitter.h> /** * Declare constants like pin settings etc. */ #define TRANSMITTERPIN 6 // documentation doesn't see anything if the needs to be a PWM, but why take the risk? #define CHILD_ID_ACTION_SWITCH_A 1 // Declare the DEVICE A as a separate switch #define CHILD_ID_ACTION_SWITCH_B 2 // Declare the DEVICE B as a separate switch -- In my situation I configured all outlet's as DEVICE A, so reserved for future useage #define CHILD_ID_ACTION_SWITCH_C 3 // Declare the DEVICE B as a separate switch -- In my situation I configured all outlet's as DEVICE A, so reserved for future useage #define CHILD_ID_ACTION_SWITCH_D 4 // Declare the DEVICE B as a separate switch -- In my situation I configured all outlet's as DEVICE A, so reserved for future useage #define CHILD_ID_ACTION_SWITCH_E 5 // Declare the DEVICE B as a separate switch -- In my situation I configured all outlet's as DEVICE A, so reserved for future useage const char SYSTEMCODE = char(31); // cast the integer byte value to a char should do the trick. Adjust this to your own SYSTEMCODE see RemoteTransmitter.h /* * Declare variables */ ActionTransmitter switchTransmitter = ActionTransmitter( TRANSMITTERPIN ); unsigned long SLEEP_TIME = 5000; // the main loop will probably won't do a thing if we only attach a transmitter. MySensor gw; /* * Declare MySensors Messages */ MyMessage msgDeviceA( CHILD_ID_ACTION_SWITCH_A, V_LIGHT ); MyMessage msgDeviceB( CHILD_ID_ACTION_SWITCH_B, V_LIGHT ); MyMessage msgDeviceC( CHILD_ID_ACTION_SWITCH_C, V_LIGHT ); MyMessage msgDeviceD( CHILD_ID_ACTION_SWITCH_D, V_LIGHT ); MyMessage msgDeviceE( CHILD_ID_ACTION_SWITCH_E, V_LIGHT ); /** * Preparation code during initialization of the Arduino */ void setup() { // put your setup code here, to run once: // Serial.begin( 115200 ); gw.begin( incomingMessage ); // attach a message handler for handling commands transmitted by the controller. gw.sendSketchInfo("433Mhz bridge", "1.0"); // Send the sketch version information to the gateway and Controller gw.present( CHILD_ID_ACTION_SWITCH_A, S_LIGHT ); // Present Device A to the gateway gw.present( CHILD_ID_ACTION_SWITCH_B, S_LIGHT ); // Present Device B to the gateway gw.present( CHILD_ID_ACTION_SWITCH_C, S_LIGHT ); // Present Device C to the gateway gw.present( CHILD_ID_ACTION_SWITCH_D, S_LIGHT ); // Present Device D to the gateway gw.present( CHILD_ID_ACTION_SWITCH_E, S_LIGHT ); // Present Device E to the gateway gw.sendBatteryLevel(100); // It just looks better in Domoticz if we let Domoticz no we're running on 100% power. } /** * The Sketch's main loop. */ void loop() { // I have nothing to do if only attach a transmitter. gw.wait( SLEEP_TIME ); // call the wait routine, which will allow for incomming messages during the waiting } void incomingMessage(const MyMessage &message) { Serial.println("message"); // We only expect one type of message from controller. But we better check anyway. if (message.type==V_LIGHT) { char device = 64 + message.sensor; // translate child id to device ID. A = 65 so if we take off one and add the received sensor ID we get the correct device // Serial.println( "Command received for Device " + (String)device + " on id " + (String)message.sensor + " request to turn " + (message.getBool()?"on":"off") ); if ( device >= 'A' && device <= 'E' ) { // Impuls/Action system only allows device 'A' to 'E' switchTransmitter.sendSignal(SYSTEMCODE, device, message.getBool() ); } } }```

16

Online

11.7k

Users

11.2k

Topics

113.1k

Posts